﻿using System;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for KetNoi
/// </summary>
public class KetNoi
{
    public static string str = @"Data Source=user-pc;Initial Catalog=BanTrangSuc;Integrated Security=True";
    public SqlConnection connection;
	public KetNoi()
	{
        connection = new SqlConnection(KetNoi.str);
	}
    public void MoKN()
    {
        connection.Open();
    }
    public void DongKN()
    {
        connection.Close();
    }
        
}
